 /* ==========================================================================
       DESIGN TOKENS & RESET
       ========================================================================== */
    :root {
      --blue-primary: #1565c0;
      --blue-secondary: #0d47a1;
      --blue-accent: #1e88e5;
      --blue-light: #e3f2fd;
      --blue-dark-bg: #0a192f;
      --card-bg: rgba(13, 37, 72, 0.95);

      --white: #ffffff;
      --text-main: #f0f4f8;
      --text-muted: #94a3b8;
      --text-subtle: #64748b;

      --font-heading: 'Outfit', sans-serif;
      --font-body: 'Plus Jakarta Sans', sans-serif;
      --font-mono: 'Fira Code', monospace;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      background-color: var(--blue-dark-bg);
      color: var(--text-main);
      font-family: var(--font-body);
      font-size: 16px;
      line-height: 1.6;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      overflow-x: hidden;
      padding-top: 110px; /* Space for fixed banner + nav */
    }

    /* ==========================================================================
       TOP RUNNING BANNER
       ========================================================================== */
    .top-banner {
      width: 100%;
      height: 35px;
      background: linear-gradient(90deg, var(--blue-secondary), var(--blue-accent));
      color: var(--white);
      font-size: 0.88rem;
      font-weight: 600;
      position: fixed;
      top: 0;
      left: 0;
      z-index: 2000;
      display: flex;
      align-items: center;
      overflow: hidden;
    }

    .top-banner span {
      display: inline-block;
      white-space: nowrap;
      padding-left: 100%;
      animation: scrollBanner 24s linear infinite;
    }

    @keyframes scrollBanner {
      0% { transform: translateX(0); }
      100% { transform: translateX(-100%); }
    }

    /* ==========================================================================
       NAVBAR
       ========================================================================== */
    .top-navbar {
      width: 100%;
      position: fixed;
      top: 35px;
      left: 0;
      padding: 10px 24px;
      background: rgba(10, 25, 47, 0.92);
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
      border-bottom: 1px solid rgba(30, 136, 229, 0.35);
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      transition: all 0.3s ease;
      z-index: 1500;
    }

    .top-navbar.scrolled {
      background: rgba(8, 20, 38, 0.98);
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45);
      padding: 8px 24px;
    }

    /* Logo & Branding */
    .top-logo {
      display: flex;
      align-items: center;
      gap: 12px;
      flex-shrink: 0;
    }

    .top-logo img {
      display: block;
      object-fit: contain;
      background: rgba(255, 255, 255, 0.05);
    }

    .top-logo.left img {
      width: 44px;
      height: 44px;
      border-radius: 50%;
      border: 1.5px solid var(--blue-accent);
    }

    .top-logo.right img {
      width: 40px;
      height: 40px;
      border-radius: 6px;
      border: 1.5px solid var(--blue-accent);
    }

    .brand-text-group {
      display: flex;
      flex-direction: column;
      justify-content: center;
      gap: 2px;
      line-height: 1.2;
    }

    .brand-name {
      font-family: var(--font-heading);
      font-size: 1.15rem;
      font-weight: 700;
      letter-spacing: 0.3px;
      color: var(--white);
      white-space: nowrap;
      text-shadow: 0 2px 6px rgba(30, 136, 229, 0.4);
    }

    .brand-subtitle {
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .badge-grade {
      font-size: 0.65rem;
      font-weight: 700;
      letter-spacing: 1px;
      color: #64b5f6;
      background: rgba(30, 136, 229, 0.15);
      border: 1px solid rgba(100, 181, 246, 0.3);
      padding: 1px 6px;
      border-radius: 4px;
      text-transform: uppercase;
    }

    .sub-dot {
      font-size: 0.6rem;
      color: var(--text-muted);
      opacity: 0.6;
    }

    .badge-subject {
      font-size: 0.65rem;
      font-weight: 600;
      letter-spacing: 1.2px;
      color: var(--text-muted);
      text-transform: uppercase;
    }

    /* Links */
    .top-links {
      list-style: none;
      display: flex;
      align-items: center;
      gap: 18px;
    }

    .top-links a {
      color: var(--text-main);
      text-decoration: none;
      font-size: 0.92rem;
      font-weight: 600;
      padding: 6px 2px;
      position: relative;
      transition: color 0.25s ease;
    }

    .top-links a::after {
      content: "";
      position: absolute;
      bottom: -2px;
      left: 0;
      width: 0%;
      height: 2.5px;
      background: var(--blue-accent);
      transition: width 0.25s ease;
    }

    .top-links a:hover,
    .top-links a.active {
      color: var(--blue-light);
    }

    .top-links a:hover::after,
    .top-links a.active::after {
      width: 100%;
    }

    /* Header Right Actions */
    .top-right-group {
      display: flex;
      align-items: center;
      gap: 12px;
      flex-shrink: 0;
    }

    .nav-exit-btn {
      background: linear-gradient(135deg, #d32f2f, #b71c1c);
      color: var(--white);
      border: none;
      border-radius: 6px;
      padding: 6px 14px;
      font-size: 0.88rem;
      font-family: var(--font-body);
      font-weight: 600;
      cursor: pointer;
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .nav-exit-btn:hover {
      transform: translateY(-1px);
      box-shadow: 0 3px 10px rgba(211, 47, 47, 0.4);
    }

    /* Mobile Hamburger */
    .nav-toggle {
      display: none;
      flex-direction: column;
      justify-content: space-between;
      width: 26px;
      height: 20px;
      background: transparent;
      border: none;
      cursor: pointer;
      padding: 0;
      z-index: 1600;
    }

    .nav-toggle span {
      display: block;
      height: 2.5px;
      width: 100%;
      background: var(--white);
      border-radius: 3px;
      transition: all 0.3s ease;
    }

    .nav-toggle.open span:nth-child(1) {
      transform: translateY(8.5px) rotate(45deg);
    }
    .nav-toggle.open span:nth-child(2) {
      opacity: 0;
    }
    .nav-toggle.open span:nth-child(3) {
      transform: translateY(-8.5px) rotate(-45deg);
    }

    /* ==========================================================================
       EXIT CONFIRMATION MODAL
       ========================================================================== */
    .exit-modal-overlay {
      position: fixed;
      inset: 0;
      width: 100vw;
      height: 100vh;
      background: rgba(5, 12, 26, 0.75);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 9999;
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.25s ease, visibility 0.25s ease;
    }

    .exit-modal-overlay.active {
      opacity: 1;
      visibility: visible;
    }

    .exit-modal-card {
      width: 90%;
      max-width: 380px;
      background: var(--card-bg);
      border: 1px solid rgba(41, 121, 255, 0.35);
      border-radius: 14px;
      padding: 24px 20px;
      text-align: center;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(41, 121, 255, 0.2);
      transform: scale(0.92);
      transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    }

    .exit-modal-overlay.active .exit-modal-card {
      transform: scale(1);
    }

    .exit-modal-icon {
      font-size: 2.2rem;
      margin-bottom: 8px;
    }

    .exit-modal-title {
      font-family: var(--font-heading);
      font-size: 1.25rem;
      font-weight: 700;
      color: var(--white);
      margin-bottom: 8px;
    }

    .exit-modal-desc {
      font-size: 0.92rem;
      color: var(--text-muted);
      line-height: 1.5;
      margin-bottom: 22px;
    }

    .exit-modal-actions {
      display: flex;
      gap: 12px;
      justify-content: center;
    }

    .btn-modal-cancel,
    .btn-modal-confirm {
      flex: 1;
      font-family: var(--font-body);
      font-size: 0.9rem;
      font-weight: 600;
      padding: 9px 16px;
      border-radius: 8px;
      cursor: pointer;
      transition: all 0.2s ease;
    }

    .btn-modal-cancel {
      background: rgba(255, 255, 255, 0.08);
      border: 1px solid rgba(255, 255, 255, 0.2);
      color: var(--text-main);
    }

    .btn-modal-cancel:hover {
      background: rgba(255, 255, 255, 0.16);
      color: var(--white);
    }

    .btn-modal-confirm {
      background: linear-gradient(135deg, #dc2626, #b91c1c);
      border: 1px solid rgba(255, 255, 255, 0.2);
      color: var(--white);
      box-shadow: 0 4px 12px rgba(220, 38, 38, 0.35);
    }

    .btn-modal-confirm:hover {
      background: linear-gradient(135deg, #ef4444, #dc2626);
      transform: translateY(-1px);
      box-shadow: 0 6px 16px rgba(220, 38, 38, 0.45);
    }

    /* ==========================================================================
       SITE FOOTER
       ========================================================================== */
    .site-footer {
      position: relative;
      width: 100%;
      background: linear-gradient(180deg, rgba(8, 20, 38, 0.85) 0%, #060e1d 100%);
      border-top: 1px solid rgba(41, 121, 255, 0.25);
      color: var(--text-muted);
      margin-top: auto;
      overflow: hidden;
    }

    .footer-glow-bar {
      position: absolute;
      top: -1px;
      left: 10%;
      width: 80%;
      height: 2px;
      background: linear-gradient(90deg, transparent, #2979ff, #60a5fa, transparent);
      box-shadow: 0 0 15px rgba(41, 121, 255, 0.6);
    }

    .footer-container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 50px 24px 35px 24px;
      display: grid;
      grid-template-columns: 2fr 1fr;
      gap: 40px;
    }

    .footer-heading {
      font-family: var(--font-heading);
      font-size: 1.05rem;
      font-weight: 700;
      color: var(--white);
      margin-bottom: 18px;
      position: relative;
      display: inline-block;
    }

    .footer-heading::after {
      content: "";
      position: absolute;
      bottom: -4px;
      left: 0;
      width: 24px;
      height: 2px;
      background: var(--blue-accent);
      border-radius: 2px;
    }

    .footer-logo-row {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 14px;
    }

    .footer-seal {
      width: 44px;
      height: 44px;
      object-fit: contain;
      border-radius: 50%;
      border: 1.5px solid var(--blue-accent);
    }

    .footer-brand-title {
      display: block;
      font-family: var(--font-heading);
      font-size: 1.1rem;
      font-weight: 700;
      color: var(--white);
      line-height: 1.2;
      margin-bottom: 3px;
    }

    .footer-tags {
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .footer-desc {
      font-size: 0.88rem;
      line-height: 1.55;
      color: var(--text-muted);
      margin-bottom: 16px;
      max-width: 540px;
    }

    .footer-formula-pill {
      display: inline-flex;
      align-items: center;
      background: rgba(41, 121, 255, 0.08);
      border: 1px solid rgba(41, 121, 255, 0.3);
      padding: 6px 14px;
      border-radius: 8px;
      box-shadow: inset 0 0 10px rgba(41, 121, 255, 0.05);
    }

    .footer-formula-pill code {
      font-family: var(--font-mono);
      font-size: 0.82rem;
      color: #93c5fd;
    }

    .footer-specs-list {
      display: flex;
      flex-direction: column;
      gap: 10px;
      margin-bottom: 16px;
    }

    .spec-item {
      display: flex;
      flex-direction: column;
      font-size: 0.85rem;
    }

    .spec-label {
      font-size: 0.75rem;
      color: var(--text-subtle);
      text-transform: uppercase;
      letter-spacing: 0.5px;
      font-weight: 600;
    }

    .spec-val {
      color: var(--text-main);
      font-weight: 500;
    }

    .footer-partner-logo {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid rgba(255, 255, 255, 0.1);
      padding: 6px 12px;
      border-radius: 8px;
      width: fit-content;
    }

    .footer-partner-logo img {
      width: 28px;
      height: 28px;
      object-fit: contain;
      border-radius: 4px;
    }

    .footer-partner-logo span {
      font-size: 0.8rem;
      font-weight: 600;
      color: #cbd5e1;
    }

    /* Footer Bottom Bar */
    .footer-bottom {
      border-top: 1px solid rgba(255, 255, 255, 0.06);
      background: rgba(4, 10, 20, 0.95);
      padding: 18px 24px;
    }

    .footer-bottom-inner {
      max-width: 1200px;
      margin: 0 auto;
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 12px;
    }

    .copyright-text {
      font-size: 0.82rem;
      color: var(--text-subtle);
    }

    .copyright-text strong {
      color: var(--text-muted);
    }

    .back-to-top {
      color: #60a5fa;
      font-size: 0.82rem;
      font-weight: 600;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: 4px;
      padding: 5px 12px;
      border-radius: 6px;
      background: rgba(41, 121, 255, 0.1);
      border: 1px solid rgba(41, 121, 255, 0.25);
      transition: all 0.2s ease;
    }

    .back-to-top:hover {
      background: rgba(41, 121, 255, 0.2);
      color: var(--white);
      transform: translateY(-2px);
    }

/* ==========================================
   SIMPLE PHYSICS LESSONS DROPDOWN
   ========================================== */

.phy-nav-dropdown {
  position: relative;
  list-style: none;
}

/* Lessons link and arrow */
.phy-nav-trigger {
  display: flex;
  align-items: center;
  gap: 4px;
}

.phy-nav-main-link {
  color: inherit;
  text-decoration: none;
}

.phy-nav-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: none;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.phy-nav-arrow svg {
  transition: transform .2s ease;
}

.phy-nav-dropdown.is-open .phy-nav-arrow svg {
  transform: rotate(180deg);
}

/* Dropdown box */
.phy-nav-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 290px;
  margin: 0;
  padding: 8px;
  list-style: none;

  background: #ffffff;
  border: 1px solid #dce8f4;
  border-radius: 10px;
  box-shadow: 0 8px 22px rgba(20, 65, 110, .10);

  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  pointer-events: none;
  transition: .2s ease;
  z-index: 9999;
}

/* Open dropdown */
.phy-nav-dropdown.is-open > .phy-nav-menu,
.phy-nav-dropdown:focus-within > .phy-nav-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

/* Chapter heading */
.phy-nav-menu-heading {
  padding: 9px 11px;
  color: #68849e;
  font-size: 11px;
  font-weight: 700;
}

.phy-nav-pulse {
  display: none;
}

/* Lesson items */
.phy-nav-menu > li > a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  margin: 2px 0;
  border-radius: 7px;
  text-decoration: none;
  color: #254967;
  transition: background .2s ease;
}

.phy-nav-menu > li > a:hover {
  background: #edf6ff;
  color: #176bc4;
}

/* Lesson number */
.phy-nav-num {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 38px;
  height: 36px;
  background: #edf5fc;
  border-radius: 6px;
  color: #176bc4;
  font-size: 12px;
  font-weight: 700;
}

/* Lesson title */
.phy-nav-item-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.phy-nav-item-text strong {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}

.phy-nav-item-text small {
  font-size: 10px;
  color: #8194a5;
}

/* Bottom link */
.phy-nav-footer {
  border-top: 1px solid #e6edf4;
  margin-top: 5px;
  padding-top: 5px;
}

.phy-nav-menu .phy-nav-footer a {
  color: #176bc4;
  font-size: 12px;
  font-weight: 600;
  justify-content: space-between;
}

/* Mobile */
@media (max-width: 900px) {
  .phy-nav-dropdown {
    width: 100%;
  }

  .phy-nav-trigger {
    justify-content: space-between;
  }

  .phy-nav-menu {
    position: static;
    width: 100%;
    max-height: 0;
    padding: 0;
    overflow: hidden;
    box-shadow: none;
    border: none;
    transform: none;
    opacity: 0;
    visibility: hidden;
  }

  .phy-nav-dropdown.is-open > .phy-nav-menu,
  .phy-nav-dropdown:focus-within > .phy-nav-menu {
    max-height: 450px;
    padding: 6px;
    margin-top: 5px;
    background: #f7fbff;
    opacity: 1;
    visibility: visible;
  }
}


    /* ==========================================================================
       MEDIA QUERIES & RESPONSIVENESS
       ========================================================================== */
    @media screen and (max-width: 992px) {
      .nav-toggle {
        display: flex;
      }

      .nav-container {
        position: fixed;
        top: 75px;
        right: -100%;
        width: 260px;
        height: calc(100vh - 75px);
        background: rgba(10, 25, 47, 0.98);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border-left: 1px solid rgba(30, 136, 229, 0.3);
        padding: 30px 20px;
        transition: right 0.3s ease;
        box-shadow: -6px 0 20px rgba(0, 0, 0, 0.5);
      }

      .nav-container.open {
        right: 0;
      }

      .top-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
      }

      .top-links a {
        font-size: 1.05rem;
        display: block;
        width: 100%;
      }

      .footer-container {
        grid-template-columns: 1fr;
        gap: 32px;
      }
    }

    @media screen and (max-width: 600px) {
      body {
        padding-top: 100px;
      }

      .top-navbar {
        padding: 8px 14px;
      }

      .brand-name {
        font-size: 0.92rem;
      }

      .badge-grade,
      .badge-subject {
        font-size: 0.58rem;
        letter-spacing: 0.8px;
      }

      .top-logo.left img,
      .top-logo.right img {
        width: 34px;
        height: 34px;
      }

      .nav-exit-btn {
        padding: 5px 10px;
        font-size: 0.8rem;
      }

      .footer-container {
        padding: 36px 16px 24px 16px;
      }

      .footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
      }

      .footer-formula-pill {
        width: 100%;
        justify-content: center;
      }
    }
    /* MAIN PHYSICS SECTION */
.phy8-section {
  --phy8-blue: #176bc4;
  --phy8-navy: #123d69;
  --phy8-text: #385a78;
  --phy8-border: #cfe2f3;

  width: 100%;
  padding: 48px clamp(20px, 4vw, 65px);
  background:
    radial-gradient(circle at 90% 5%, #dcefff, transparent 35%),
    linear-gradient(135deg, #f8fcff, #edf7ff);
  color: var(--phy8-navy);
  font-family: 'Inter', sans-serif;
  box-sizing: border-box;
}

.phy8-section * {
  box-sizing: border-box;
}

.phy8-container {
  width: 100%;
  max-width: 1700px;
  margin: 0 auto;
}

/* HEADER */
.phy8-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}

.phy8-page-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(36px, 3.5vw, 50px);
  font-weight: 800;
  margin: 0;
  letter-spacing: -1px;
  color: #123d69;
}

.phy8-translate {
  padding: 12px 22px;
  border: 1px solid #bad9f1;
  background: #fff;
  color: #176bc4;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: .3s;
}

.phy8-translate:hover {
  background: #176bc4;
  color: white;
}

/* HERO LAYOUT */
.phy8-hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 38px;
  align-items: center;
  padding: clamp(25px, 3vw, 45px);
  border: 1px solid var(--phy8-border);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 35px rgba(24,95,155,.07);
  margin-bottom: 32px;
}

.phy8-hero-text {
  min-width: 0;
}

.phy8-chapter-label {
  display: inline-block;
  background: #e5f3ff;
  color: #176bc4;
  padding: 10px 16px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 18px;
}

.phy8-lesson-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(43px, 5vw, 70px);
  line-height: 1.15;
  letter-spacing: -1.5px;
  font-weight: 800;
  color: #135da6;
  margin: 0 0 22px;
}

.phy8-intro-text {
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.95;
  color: var(--phy8-text);
  margin: 0 0 25px;
}

.phy8-concepts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.phy8-concept {
  border: 1px solid #c8e1f5;
  background: #f1f9ff;
  color: #216ba7;
  padding: 11px 15px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 700;
}

/* REAL PHYSICS PHOTO */
.phy8-image-frame {
  position: relative;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid #d0e4f5;
  background: #e5f3ff;
}

.phy8-image-frame img {
  display: block;
  width: 100%;
  height: clamp(290px, 28vw, 420px);
  object-fit: cover;
  transition: transform .5s;
}

.phy8-image-frame:hover img {
  transform: scale(1.035);
}

.phy8-image-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(7,29,53,.92));
  padding: 55px 22px 22px;
  color: white;
}

.phy8-image-caption strong {
  display: block;
  font-size: 18px;
  margin-bottom: 6px;
}

.phy8-image-caption span {
  font-size: 14px;
  color: #d9eaff;
}

/* LEARNING OUTCOMES */
.phy8-outcomes {
  background: rgba(255,255,255,.9);
  border: 1px solid var(--phy8-border);
  border-radius: 20px;
  padding: clamp(25px, 3vw, 38px);
  margin-bottom: 30px;
}

.phy8-section-heading {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 12px;
}

.phy8-heading-accent {
  width: 5px;
  height: 38px;
  border-radius: 5px;
  background: linear-gradient(#176bc4, #38c6ec);
}

.phy8-section-heading h2 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(27px, 2.5vw, 35px);
  margin: 0;
  font-weight: 800;
}

.phy8-outcome-intro {
  font-size: 17px;
  color: var(--phy8-text);
  margin: 0 0 25px;
  line-height: 1.8;
}

/* OUTLINED LEARNING OUTCOMES */
.phy8-outcome-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.phy8-outcome-item {
  display: flex;
  align-items: flex-start;
  gap: 17px;
  padding: 26px 23px;
  background: #fbfdff;
  border: 2px solid #d2e4f4;
  border-radius: 15px;
  transition: .3s;
}

.phy8-outcome-item:hover {
  border-color: #2589d5;
  background: #f0f8ff;
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(21,100,170,.08);
}

.phy8-outcome-number {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  border: 2px solid #8fc7ed;
  border-radius: 12px;
  color: #176bc4;
  background: #eaf6ff;
  font-size: 17px;
  font-weight: 800;
}

.phy8-outcome-item p {
  margin: 0;
  font-size: 17px;
  line-height: 1.85;
  font-weight: 500;
  color: #355a7a;
}

/* PRELIMINARY STUDY */
.phy8-preliminary {
  display: flex;
  gap: 22px;
  align-items: center;
  padding: 27px 32px;
  background: linear-gradient(110deg, #e0f2ff, #f7fcff);
  border: 1px solid #c6e3f6;
  border-left: 5px solid #1782d1;
  border-radius: 15px;
}

.phy8-prelim-icon {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: #fff;
  color: #176bc4;
  font-size: 31px;
}

.phy8-preliminary h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 24px;
  font-weight: 800;
  margin: 0 0 10px;
}

.phy8-preliminary p {
  margin: 0;
  font-size: 17px;
  line-height: 1.9;
  color: #426582;
}

/* MYANMAR LANGUAGE */
.phy8-section.phy8-myanmar,
.phy8-myanmar .phy8-i18n {
  font-family: 'Noto Sans Myanmar', sans-serif;
}

.phy8-myanmar .phy8-i18n {
  letter-spacing: 0;
  line-height: 2.1;
}

.phy8-myanmar .phy8-lesson-title {
  font-size: clamp(35px, 4vw, 54px);
}

/* TABLET */
@media(max-width: 1000px) {
  .phy8-hero {
    grid-template-columns: 1fr;
  }

  .phy8-outcome-grid {
    grid-template-columns: 1fr;
  }

  .phy8-image-frame img {
    height: 350px;
  }
}

/* MOBILE */
@media(max-width: 600px) {
  .phy8-section {
    padding: 28px 15px;
  }

  .phy8-page-title {
    font-size: 32px;
  }

  .phy8-translate {
    padding: 10px 13px;
    font-size: 13px;
  }

  .phy8-hero {
    padding: 22px;
    gap: 25px;
  }

  .phy8-lesson-title {
    font-size: 43px;
  }

  .phy8-intro-text {
    font-size: 16px;
  }

  .phy8-image-frame img {
    height: 260px;
  }

  .phy8-outcomes {
    padding: 22px 18px;
  }

  .phy8-outcome-item {
    padding: 19px;
  }

  .phy8-outcome-item p {
    font-size: 16px;
  }

  .phy8-preliminary {
    align-items: flex-start;
    padding: 22px;
    gap: 15px;
  }

  .phy8-prelim-icon {
    width: 45px;
    height: 45px;
    font-size: 24px;
  }

  .phy8-preliminary p {
    font-size: 16px;
  }
}
.phy8nav-section {
  --nav-blue: #176bc4;
  --nav-dark: #123d69;
  --nav-cyan: #23b5e8;
  --nav-border: #cfe2f3;
  --nav-muted: #58748c;

  width: 100%;
  padding: 55px clamp(18px, 4vw, 65px);
  background:
    radial-gradient(circle at 95% 0%, #d8edff, transparent 38%),
    linear-gradient(135deg, #f8fcff, #eaf5ff);
  font-family: 'Inter', 'Noto Sans Myanmar', sans-serif;
  color: var(--nav-dark);
  box-sizing: border-box;
  overflow: hidden;
}

.phy8nav-section *,
.phy8nav-section *::before,
.phy8nav-section *::after {
  box-sizing: border-box;
}

.phy8nav-container {
  width: 100%;
  max-width: 1700px;
  margin: auto;
}

/* HEADER */
.phy8nav-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 25px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.phy8nav-eyebrow {
  display: inline-block;
  color: #1875c4;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.7px;
  margin-bottom: 12px;
}

.phy8nav-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(30px, 3.4vw, 45px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.2;
  margin: 0 0 12px;
}

.phy8nav-description {
  font-size: 17px;
  color: var(--nav-muted);
  line-height: 1.8;
  margin: 0;
  max-width: 760px;
}

.phy8nav-count {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 18px;
  background: #fff;
  border: 1px solid var(--nav-border);
  border-radius: 12px;
  color: var(--nav-blue);
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.phy8nav-count-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #22b9e5;
  box-shadow: 0 0 0 5px #e2f7ff;
}

/* LESSON GRID */
.phy8nav-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

/* LESSON CARD */
.phy8nav-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-width: 0;
  text-decoration: none;
  color: inherit;
  border: 1px solid #cfe2f3;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(24, 96, 155, .055);
  transition:
    transform .35s ease,
    box-shadow .35s ease,
    border-color .35s ease;
}

.phy8nav-card:hover {
  transform: translateY(-7px);
  border-color: #58aeea;
  box-shadow: 0 20px 45px rgba(19, 101, 177, .16);
}

.phy8nav-card:focus-visible {
  outline: 3px solid #168de0;
  outline-offset: 4px;
}

/* TOP PHYSICS VISUAL */
.phy8nav-visual {
  position: relative;
  height: 185px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(130deg, #e4f4ff, #f5fbff);
  border-bottom: 1px solid #d8e9f7;
}

.phy8nav-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(#82b9df19 1px, transparent 1px),
    linear-gradient(90deg, #82b9df19 1px, transparent 1px);
  background-size: 24px 24px;
}

.phy8nav-visual svg {
  position: relative;
  z-index: 1;
  display: block;
  width: min(92%, 410px);
  height: 155px;
  overflow: visible;
  transition: transform .4s ease;
}

.phy8nav-card:hover .phy8nav-visual svg {
  transform: scale(1.06);
}

/* ANIMATED LIGHT RAYS */
.phy8nav-ray {
  stroke-dasharray: 10 7;
  animation: phy8nav-rayflow 2s linear infinite;
}

@keyframes phy8nav-rayflow {
  to { stroke-dashoffset: -34; }
}

/* LESSON NUMBER */
.phy8nav-number {
  position: absolute;
  top: 17px;
  left: 18px;
  z-index: 2;
  padding: 8px 12px;
  background: rgba(255,255,255,.92);
  border: 1px solid #d4e8f8;
  border-radius: 8px;
  color: #176bc4;
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .5px;
}

/* CARD CONTENT */
.phy8nav-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 26px;
}

.phy8nav-category {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #1987c8;
  margin-bottom: 10px;
}

.phy8nav-card-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(21px, 2vw, 26px);
  font-weight: 800;
  line-height: 1.35;
  color: #153e6b;
  margin: 0 0 12px;
}

.phy8nav-card-text {
  font-size: 15px;
  line-height: 1.85;
  color: #58748c;
  margin: 0 0 22px;
}

/* CARD FOOTER */
.phy8nav-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid #e0edf7;
  margin-top: auto;
}

.phy8nav-open-label {
  font-size: 14px;
  font-weight: 800;
  color: #176bc4;
}

.phy8nav-arrow {
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  border-radius: 11px;
  background: #e7f4ff;
  color: #176bc4;
  font-size: 22px;
  transition: .3s;
}

.phy8nav-card:hover .phy8nav-arrow {
  background: #176bc4;
  color: #fff;
  transform: translateX(4px);
}

/* BOTTOM NOTE */
.phy8nav-bottom {
  margin-top: 24px;
  padding: 18px 22px;
  border: 1px solid #cce5f7;
  border-radius: 12px;
  background: #e5f4ff;
  color: #416987;
  font-size: 15px;
  line-height: 1.7;
}

/* MYANMAR TRANSLATION SUPPORT */
.phy8nav-section.phy8nav-myanmar .phy8nav-i18n {
  font-family: 'Noto Sans Myanmar', sans-serif;
  letter-spacing: 0;
  line-height: 2;
}

/* RESPONSIVE */
@media(max-width: 900px) {
  .phy8nav-grid {
    grid-template-columns: 1fr;
  }
}

@media(max-width: 600px) {
  .phy8nav-section {
    padding: 35px 15px;
  }

  .phy8nav-header {
    margin-bottom: 24px;
  }

  .phy8nav-title {
    font-size: 30px;
  }

  .phy8nav-description {
    font-size: 15px;
  }

  .phy8nav-visual {
    height: 160px;
  }

  .phy8nav-content {
    padding: 21px;
  }

  .phy8nav-card-title {
    font-size: 22px;
  }
}

@media(prefers-reduced-motion: reduce) {
  .phy8nav-ray {
    animation: none;
  }

  .phy8nav-card,
  .phy8nav-visual svg,
  .phy8nav-arrow {
    transition: none;
  }
}